public class HotelService {
    public double getRoomPrice(User user, Room room) {
        double price = room.getPrice();
        return user.getMembership().getDiscount(price);
    }
}
